package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * 上架明细DTO
 * </p>
 *
 * @author LEO
 * @since 2020-08-04
 */
@Data
@ApiModel(value="PutawayItemDTO对象", description="上架明细")
public class PutawayItemDTO extends BasicEntity {


    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "上架单号")
    private String putawayCode;

    @ApiModelProperty(value = "收货登记编码")
    private String receiveRegisterCode;

    @ApiModelProperty(value = "商品编码code")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "容器号")
    private String containerBarCode;

    @ApiModelProperty(value = "单位")
    private String goodsUnit;

    @ApiModelProperty(value = "收货数量")
    private BigDecimal receivedQuantity;

    @ApiModelProperty(value = "货品状态")
    private String goodsStatus;

    @ApiModelProperty(value = "货品状态")
    private String goodsStatusName;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "库位")
    private String warehouseLocationCode;

    @ApiModelProperty(value = "任务号")
    private String taskCode;

    @ApiModelProperty(value = "上架状态")
    private String putawayStatus;

    @ApiModelProperty(value = "是否有容器: 0 无容器，普通上架；1 有容器，托盘上架")
    private Integer container = 1;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;
}
